<%@ page language="java" contentType="text/html; charset=UTF-8"
	pageEncoding="UTF-8"%>
<%@ taglib uri="http://java.sun.com/jsp/jstl/core" prefix="c"%>
<%@ taglib uri="http://struts.apache.org/tags-bean" prefix="bean"%>
<%@ taglib uri="http://struts.apache.org/tags-html" prefix="html"%>
<%@ taglib uri="http://struts.apache.org/tags-logic" prefix="logic"%>
<%@ taglib uri="http://struts.apache.org/tags-tiles" prefix="tiles"%>
<%@ taglib uri="http://www.springframework.org/security/tags" prefix="security"%>
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1">
<title>修改业主信息</title>
<link rel="stylesheet" href="http://code.jquery.com/mobile/1.4.2/jquery.mobile-1.4.2.min.css" />
<script src="http://code.jquery.com/jquery-1.9.1.min.js"></script>
<script src="http://code.jquery.com/mobile/1.4.2/jquery.mobile-1.4.2.min.js"></script>
</head>
<body>
<div data-role="page" align="center" >
  <div data-role="header">
  <h1>${owner.name }</h1>
  <a href="ownerQuery.do?method=opinion&id=${owner.id }" data-role="button" data-icon="star" class="ui-btn-right" data-mini="true">意见反馈</a>
  </div>

  <div data-role="content">
<html:form action="ownerQuery.do?method=updateOwnerSave" method="post" >  
<html:hidden property="id" value="${owner.id}" />
   <div class="ui-grid-a">
     <div class="ui-block-a" align="left" style="width: 99% " >
     	业主姓名：&nbsp;${owner.name }<p>
		身份证号：&nbsp;<html:text property="idCard" value="${owner.idCard }" /><p>
		电话号码：&nbsp;<html:text property="phone" value="${owner.phone }" /><p>
		工作单位：&nbsp;<html:text property="workUnit" value="${owner.workUnit }" /><p>
		登录密码：&nbsp;<html:text property="password" value="${owner.password }" /><p>
     </div>
     <div class="ui-block-b" align="left">
     </div>
   </div>
<div data-role="fieldcontain" align="left"> 
  	<font color="red" size="2">${error }</font>
</div>
<div data-role="fieldcontain" >
<html:submit value="提交"  />&nbsp;&nbsp;<html:reset value="取消" />
</div>
</html:form>
  </div>
  
<div data-role="footer" data-position="fixed" data-fullscreen="true">
  <div data-role="controlgroup" data-type="horizontal">
    <a href="ownerQuery.do?method=showALLBills&id=${owner.id }" data-role="button" data-icon="search">所有物业账单</a>
    <a href="http://wz.dpwl.net/index.php?g=Wap&m=Index&a=lists&classid=120&token=f272d58b48b093a" data-role="button" data-icon="grid">公司最新动态</a>
  </div>
</div>
  
</div> 
</body>
</html>